package star.oath.project.item.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@TableName("misc_def")
public class MiscDef extends Model<ItemProp> implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
    private String itemCode;
    private String itemName;
    private String itemClass;
    private String subClass;
    private Integer itemTier;
    private Integer costMoney;
    private Integer maxStack;
    private String usageType;
    private String effectType;
    private Integer effectValue;
    private Integer effectLength;

    @TableField(exist = false)
    private List<ItemProp> itemPropList;

}
